.class public Lcom/estrongs/android/ui/dialog/z0;
.super Lcom/estrongs/android/ui/dialog/q;
.source "SpaceNotEnoughDialog.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;JJ)V
    .locals 8

    const/4 v6, 0x0

    const/4 v7, 0x0

    move-object v0, p0

    move-object v1, p1

    move-wide v2, p2

    move-wide v4, p4

    .line 1
    invoke-direct/range {v0 .. v7}, Lcom/estrongs/android/ui/dialog/z0;-><init>(Landroid/content/Context;JJLjava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;JJLjava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p1

    const v0, 0x7f0c0310

    const/4 v1, 0x0

    .line 4
    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p1

    const v0, 0x7f0909ac

    .line 5
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 6
    invoke-static {p2, p3}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const p2, 0x7f090164

    .line 7
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    .line 8
    invoke-static {p4, p5}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p2, p3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz p7, :cond_0

    const p2, 0x7f0907bc

    .line 9
    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p2

    check-cast p2, Landroid/widget/TextView;

    .line 10
    invoke-virtual {p2, p7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 11
    :cond_0
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    if-nez p6, :cond_1

    const p1, 0x7f110038

    .line 12
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    goto :goto_0

    .line 13
    :cond_1
    invoke-virtual {p0, p6}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    :goto_0
    return-void
.end method


# virtual methods
.method public show()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    const v1, 0x7f1104ce

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/ui/dialog/z0$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dialog/z0$a;-><init>(Lcom/estrongs/android/ui/dialog/z0;)V

    invoke-virtual {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/q;->mContext:Landroid/content/Context;

    const v1, 0x7f110299

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 3
    invoke-super {p0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method
